package com.example.prom.utils;

import org.springframework.http.HttpHeaders;
import org.springframework.http.MediaType;

/**
 * Description
 *
 * @author DangWen
 */
public class CommonUtil {
    public static HttpHeaders getHttpHeaders() {
        // 模拟form表单发送请求
        HttpHeaders httpHeaders = new HttpHeaders();
        httpHeaders.setContentType(MediaType.APPLICATION_FORM_URLENCODED);
        return httpHeaders;
    }
}
